package com.ophiux.common.security.annotation;

import com.ophiux.common.security.component.ResourceServerAutoConfiguration;
import com.ophiux.common.security.component.ResourceServerConfiguration;
import com.ophiux.common.security.feign.FeignClientConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @desc: 资源服务注解, 接口需要鉴权时，启用该注解
 * @author: hhl
 * @date：2023/11/24 21:44
 */
@Documented
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({ResourceServerAutoConfiguration.class, ResourceServerConfiguration.class, FeignClientConfiguration.class})
public @interface EnableSecurityResourceServer {

}
